import {applyMiddleware, createStore} from "redux";
import thunk from "redux-thunk"
import {middleware} from "../navigation";
import reducer from "../reducer/index"

const middlewares:any = [
    middleware,
    thunk,

]
export default createStore(reducer,applyMiddleware(...middlewares))
